home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Utilities / Installers / InstallerMaker™ 3.0 / Preinstalled version / Customizing InstallerMaker / Sample Code / IPkg & IBeg Example / IPkgDemo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-05-03  |  1.7 KB  |  60 lines  |  [TEXT/MMCC]

  1. /******************************************************************************
  2. **
  3. **  Project Name:    IPkg WWDC Demo
  4. **     File Name:    IPkgDemo.h
  5. **
  6. **   Description:    Quick demo that munges an PKgs resource.
  7. **
  8. **   Copyright© 1995 Aladdin Systems, inc.
  9. **
  10. *******************************************************************************
  11. **                       A U T H O R   I D E N T I T Y
  12. *******************************************************************************
  13. **
  14. **    Initials    Name
  15. **    --------    -----------------------------------------------
  16. **    RMT            Robert Thorne
  17. **
  18. *******************************************************************************
  19. **                      R E V I S I O N   H I S T O R Y
  20. *******************************************************************************
  21. **
  22. **      Date        Time    Author    Description
  23. **    --------    -----    ------    ---------------------------------------------
  24. **    05/03/95            RMT        Moved scraps into MW framework
  25. **
  26. ******************************************************************************/
  27.  
  28. #ifndef __IPKGDEMO
  29.     #define __IPKGDEMO
  30.     
  31.     
  32. #define kPKgsID     5555
  33.  
  34. #define iIBegStrItem 3
  35.  
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39.  
  40.  
  41. pascal OSErr    SetDialogDefaultItem ( DialogPtr theDialog, short newItem )
  42.                 = { 0x303C , 0x0304 , 0xAA68 } ;
  43. pascal OSErr    SetDialogCancelItem ( DialogPtr theDialog, short newItem )
  44.                 = { 0x303C , 0x0305 , 0xAA68 } ;
  45. pascal OSErr    SetDialogTracksCursor ( DialogPtr theDialog, Boolean tracks )
  46.                 = { 0x303C , 0x0306 , 0xAA68 } ;
  47.                 
  48.  
  49. short IBegMain ( Str255 password, unsigned long *refCon ) ;
  50. void  IPKGMain ( unsigned long *packages,unsigned long *refcon) ;
  51.  
  52. Handle GetPackagesFromPKgs ( short id, unsigned long *packages ) ;
  53.  
  54.     
  55.     
  56. #ifdef __cplusplus
  57. }
  58. #endif    
  59.     
  60. #endif __IPKGDEMO